<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>网页聊天程序</title>
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/client.css">
</head>

<body>
  <div class="cover"></div>
  <div class="client-container">
    <div class="main">
      <div class="left">
        <div class="user-list">
          <div class="user-item">
            <img src="" alt="用户头像" class="user-avatar"> <!-- 新增头像img -->
            <span class="username"> </span>
          </div>
        </div>

        <!-- 搜索框 -->
        <div class="search">
          <input type="text">
          <button></button>
        </div>
        <!-- 标签页 -->
        <div class="tab">
          <!-- 会话 -->
          <div class="tab-session"></div>
          <!-- 好友 -->
          <div class="tab-friend"></div>
        </div>
        <!-- 会话列表 -->
        <ul class="list" id="session-list">
        </ul>

        <!-- 好友列表 -->
        <ul class="list hide" id="friend-list">
          <!-- 头像TODO -->
          <li>
            <img src="" alt="好友头像" class="avatar">
            <h4>zhann</h4>
          </li>
        </ul>
      </div>

      <div class="right">
        <!-- 标题 -->
        <div class="title"></div>
        <!-- 消息区域 -->
        <div class="message-show">
          <div class="message message-left">


          </div>
          <!-- 消息区域 -->
          <div class="message message-right">

          </div>
          <!-- 搜索好友，出现相关好友 -->
          <div class="message-addFriend">

          </div>
          <div class="message-addFriend">
            <!-- <span friend-id="10">zhangsanfeng</span>
            <input type="text">
            <button>+</button> -->
          </div>
        </div>

        <!-- 消息编辑框 -->
        <textarea class="message-input"></textarea>
        <div class="ctrl">
          <button>发送</button>
        </div>
      </div>
    </div>
  </div>

  <script src="dist/js/jquery.min.js"></script>
  <script src="js/client.js"></script>
</body>

</html>